package com.edu.hre.struts.form.admin;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;

import com.edu.hre.db.pojo.HreDistrict;
import com.edu.hre.db.pojo.HreEmployee;
import com.edu.hre.db.pojo.HreProvince;
import com.edu.hre.db.pojo.HreUserRole;

public class UserUpdateForm extends ActionForm {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -1963599047193966305L;
	private Integer id;
	private Integer employeeNumber;
	private Integer userRoleId;
    private String userRole;
    private String userName;
    private String password;
    private String confirmPassword;
    private Integer status;
    
    private List<LabelValueBean> allEmployees = new ArrayList<LabelValueBean>();
    private List<LabelValueBean> allUserRoles = new ArrayList<LabelValueBean>();
    private List<LabelValueBean> allStatuses = new ArrayList<LabelValueBean>();
    
    private boolean isAddNew = true;
    private String message = "";
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserRole() {
		return userRole;
	}

	public void setUserRole(String userRole) {
		this.userRole = userRole;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public List<LabelValueBean> getAllUserRoles() {
		return allUserRoles;
	}

	public void setAllUserRoles(List<LabelValueBean> allUserRoles) {
		this.allUserRoles = allUserRoles;
	}

	public List<LabelValueBean> getAllStatuses() {
		return allStatuses;
	}

	public void setAllStatuses(List<LabelValueBean> allStatuses) {
		this.allStatuses = allStatuses;
	}

	public UserUpdateForm() {
		
	}

	public boolean isAddNew() {
		return isAddNew;
	}

	public void setAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	
	public boolean getIsAddNew() {
		return isAddNew;
	}

	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getConfirmPassword() {
		return confirmPassword;
	}

	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}

	public Integer getUserRoleId() {
		return userRoleId;
	}

	public void setUserRoleId(Integer userRoleId) {
		this.userRoleId = userRoleId;
	}

	public Integer getEmployeeNumber() {
		return employeeNumber;
	}

	public void setEmployeeNumber(Integer employeeNumber) {
		this.employeeNumber = employeeNumber;
	}

	public List<LabelValueBean> getAllEmployees() {
		return allEmployees;
	}

	public void setAllEmployees(List<LabelValueBean> allEmployees) {
		this.allEmployees = allEmployees;
	}
}
